home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14463 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  770 b 

  1. Path: sunspot.ccs.yorku.ca!yu114405
  2. From: yu114405@yorku.ca (Naftali Sturm)
  3. Newsgroups: comp.lang.c
  4. Subject: VGA problem
  5. Date: 15 Apr 1996 02:57:58 GMT
  6. Organization: York University
  7. Message-ID: <4ksdvm$5ep@sunburst.ccs.yorku.ca>
  8. NNTP-Posting-Host: sunspot.ccs.yorku.ca
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. I'm using Microsoft C, and I have a problem. 
  12. My screen supports 800x600 graphics (mode=52 hex), and my question
  13. is why won't the standard graphics functions work?
  14. Also, in any graphics mode, say it starts in memory A000:0000, I would
  15. declare a pointer:
  16.       char far *scrptr;
  17. then:
  18.       scrptr=A0000000;
  19. to point it to the beginning of the screen, but then what values would
  20. I set scrptr to be in order to set different pixels?
  21. thank(you); for(your=help;;){}
  22.  
  23.